R Create Dummy Variable (3 Examples) | Generate Random 0/1 Indicator | ifelse, model.matrix & rbinom